package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.domain.Menu;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MenuMapper extends BaseMapper<Menu> {
    List<String> getPermsByUserId(@Param("userId") Long userId);

}
